/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.istia.gesstages.dao;

import fr.istia.gesstages.jpa.Apply;
import fr.istia.gesstages.jpa.Offer;
import fr.istia.gesstages.jpa.User;
import java.util.List;

/**
 * @date 22/11/2011
 * @author Cédric Moreau
 */
public interface IDaoApply {
    
    public Apply create(Apply apply);
    public Apply update(Apply apply);
    public Apply delete(Apply apply);
    public Apply findBy(Offer offer, User student);
    public List<Apply> findBy(Offer offer);
    public List<Apply> findBy(User student);
    public void deleteAll();
}
